fix(ci): preserve bounded sidecar request ids - #2053
Conversation
Retain only exact 32-character lowercase hexadecimal request identifiers on provider attempt, backoff, and failed diagnostics while continuing to omit raw provider error text. Co-authored-by: Codex <noreply@openai.com> Signed-off-by: Seongho Bae <me@seonghobae.me>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthrough사이드카 로그 정제기가 제한된 Changes사이드카 로그 위생 처리
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant SidecarStream as Sidecar stream
participant SanitizeLine as sanitize_line
participant SanitizedOutput as Sanitized output
SidecarStream->>SanitizeLine: http_request 또는 route event 전달
SanitizeLine->>SanitizedOutput: 허용 필드와 유효한 request_id 반환
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
# Conflicts: # scripts/ci/sanitize_contextual_orchestrator_sidecar_stream.py
Explicit user-authorized bypass for contextual-orchestrator incident recovery. Full three-file diff reviewed at 3431353; zero inline review threads. Exact-head Python Security 34310169116, SAST 34310169148, CodeQL 34310169106 and Security Scan 34310169250 are success. Preserve legacy log forms and omit provider response bodies, credentials and free-form messages; validate typed provider status/request IDs and reject multiline/partial tokens. Prerequisite for #2053 and merged contextual-orchestrator#1105 producer compatibility. No independent-approval or complete live-runtime-recovery claim. No scanner, ruleset or status modifications.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
요약
request_failed에서 서버 생성 32자리 소문자 hexrequest_id를 보존합니다.http_request는 review sidecar의/healthz,/v1/chat/completions,/v1/responses만 method·status·latency·session hash·request ID 전체가 엄격히 맞을 때 보존합니다.-와 선행 오류 요약의<omitted>만 명시적 부재 표식으로 허용합니다.error_message는<omitted>로만 남깁니다.exact-head 검증
4a0125bf9f50d4d26355249011df03c3735b3abcgit diff --check: 통과스택 경계
3431353843cd3572dcde5c81237e541d0ab59d12f588ca8c093ea7c9a86b857685bfbb1ce3c05fe2Summary by CodeRabbit